package com.motong.gongdan.vo.H5Vo.device.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
@ApiModel("计数看板")
public class CountDashboardQuery {

    @ApiModelProperty("分组id")
    private String groupId;

    @ApiModelProperty("设备id")
    private Long deviceId;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("脉冲数")
    private Integer numberPulses = 1;

    @ApiModelProperty("结束时间")
    private Date endTime = new Date();

    @ApiModelProperty(value = "UPH计算包含关灯时间")
    private Boolean UPHIncludeCloseTime = false;

    @ApiModelProperty(value = "设备ids", hidden = true)
    private List<Long> deviceIds;

    @ApiModelProperty(value = "页码")
    private Integer page = 1;

    @ApiModelProperty(value = "条数")
    private Integer limit = -1;

    @ApiModelProperty("时间间隔(起)秒")
    private Long startSecond;

    @ApiModelProperty("时间间隔(止)秒")
    private Long endSecond;

    @ApiModelProperty("客户端")
    private String client = "H5";
}
